<div th:if="*{featuredProduct}" class="new_badge">Nuevo!</div>

<div class="image">
	<a th:href="@{*{url}}">
	<img th:if="*{media['primary']}" th:src="@{*{media['primary'].url}}" alt="Promocion" />
	<div class="price" th:if="${#object instanceof T(org.broadleafcommerce.core.catalog.domain.ProductBundle)}">
		<div blc:price="*{salePrice}" th:if="*{onSale}" th:classappend="*{defaultSku.onSale}? 'sale'"></div>
		<div blc:price="*{retailPrice}" th:classappend="*{onSale}? 'has-sale'"></div>
	</div>
	<div class="price" th:unless="${#object instanceof T(org.broadleafcommerce.core.catalog.domain.ProductBundle)}">
		<div blc:price="*{defaultSku.salePrice}" th:if="*{defaultSku.onSale}" th:classappend="*{defaultSku.onSale}? 'sale'"></div>
		<div blc:price="*{defaultSku.retailPrice}" th:classappend="*{defaultSku.onSale}? 'has-sale'"></div>
	</div>
	</a>
</div>

